<?php
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>';
echo $title;
echo '</title>';
echo @$css.@$js;
echo '<link rel="shortcut icon" href="'.MVC_WEB_DIR.'favicon.ico">
</head>
<body>
';?>

<div style="width:964px;margin-left:auto;margin-right:auto;padding-top:50px;">
<style>

.login_input{
width:150px;
height:20px;
font-size:15px;
font-weight:bold;
color:#666666;
border-right:solid 1px #dddddd;
border-left:solid 1px #999999;
border-top:solid 1px #999999;
border-bottom:solid 1px #dddddd;}
.errorred{
width:150px;
height:20px;
font-size:15px;
font-weight:bold;
border:dotted 1px red;
}
@CHARSET "UTF-8";
body { background:#B8D4E8; margin-left:0px;margin:0px;font-family:verdana, Arial, Tahoma, Helvetica, sans-serif; color:#333;font-size:13px; }
a {text-decoration: none;color:#333333;}
#footer{text-align:center;margin-top:10px;float:left;width:100%;padding-top:10px;padding-bottom:10px;height:auto;line-height:20px;color:#000;position:absolute;bottom:0px;}
.input_1{
width:150px;
height:18px;
font-size:13px;
color:#333333;
border-right:solid 1px #dddddd;
border-left:solid 1px #999999;
border-top:solid 1px #999999;
border-bottom:solid 1px #dddddd;
}
.input_2{
width:350px;
height:18px;
font-size:13px;
color:#333333;
border-right:solid 1px #dddddd;
border-left:solid 1px #999999;
border-top:solid 1px #999999;
border-bottom:solid 1px #dddddd;
}
.click{cursor: pointer;}
.input_time{
width:65px;
height:18px;
font-size:13px;
color:#333333;
border-right:solid 1px #dddddd;
border-left:solid 1px #999999;
border-top:solid 1px #999999;
border-bottom:solid 1px #dddddd;
}
.text_1{
width:100%;
height:50px;
font-size:13px;
color:#333333;
border-right:solid 1px #dddddd;
border-left:solid 1px #999999;
border-top:solid 1px #999999;
border-bottom:solid 1px #dddddd;
overflow-y:auto;
}
.text_2{
width:100%;
height:35px;
font-size:13px;
color:#333333;
border:solid 0px;
overflow-y:auto;
}
.del_button_1{width:13px;height:13px;border:solid 0px;}
.add_button_1{width:13px;height:13px;border:solid 0px;}
.add_button_2 {float:right;font-weight: normal;font-size:13px;}
.add_button_2 a{text-decoration:none;}
.add_button_2 img{width:14px;height:14px;border:solid 0px;}
.add_button_2 div{padding-left:15px;height:14px;cursor: pointer;background: url("../img/sort_desc.png") no-repeat;}
.edit_txt{background:#E0E7FC;padding-right:10px;padding-left:10px;}
.del_txt{background:#FCE8E0;padding-right:10px;padding-left:10px;color:red}

.list_title{
width:938px;padding:10px;height:19px;float:left;
border-right:solid 1px #cccccc;
border-left:solid 1px #cccccc;
border-top:solid 1px #cccccc;
background: url("../img/title_bg1.gif");
font-size:14px;font-weight:bold;
}
.list{width:100%;height:auto;float:left;padding-top:0px;}
.page{width:940px;padding:10px;margin-bottom:10px;height:auto;float:left;background:#f9f9f9;border-top:solid 1px #cccccc;margin-top:0px;}

.tr_title{background: #eeeeee; font-weight:bold;color:#336699}

.td_title{border-left:solid 1px #ffffff;}

.search_1{width:938px;padding:10px;margin-bottom:10px;height:auto;float:left;background:#F2FBFA;border:solid 1px #D2F0F0;}

.add_items{width:938px;padding:10px;height:auto;float:left;background:#f8f8f8;line-height:30px;border:dotted 1px red;display:none;}
.add_items2{width:880px;padding:10px;height:auto;background:#f8f8f8;line-height:30px;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;}
.page{color:#999999;}
.page a{color:#333333;}

.page a:HOVER{color:red}
#displays{
display:none;
width:100%;
height:100px;
left:0;
right:0;
top:30%; 
z-index:1000;
position:fixed;

}
#displays_con{width:270px;height:80px;background:url("../img/alert_bg.gif");margin-left:auto;margin-right:auto;padding:10px;}
#displays_rs{width:50px;height:60px;padding-top:20px;padding-left:20px;float:left;}
.displays_img_0{width:30px;height:60px;float:left;background: url("../img/alert_0.gif") no-repeat;}
.displays_img_1{width:30px;height:60px;float:left;background: url("../img/alert_1.gif") no-repeat;}
.displays_img_2{width:30px;height:60px;float:left;background: url("../img/alert_2.gif") no-repeat;}
#displays_msg{width:180px;height:60px;padding:10px;float:left;text-align:left;}
.displays_msg_title_1{color:green;font-weight:bold;font-size:14px;}
.displays_msg_title_0{color:red;font-weight:bold;font-size:14px;}
.displays_msg_title_2{color:blue;font-weight:bold;font-size:14px;}
</style>
<div style="width:964px;

padding-top:10px;
float:left;">

<div id="login" style="
border:solid 1px #bbbbbb;
width:342px;
height:340px;
line-height:20px;
background:#ffffff;
margin-left:auto;margin-right:auto;
font-size:14px;
padding-left:10px;
padding-right:10px;
padding-top:10px;
padding-bottom:10px;">	

	<table cellpadding="5" cellspacing="5" width="100%">
		<tr>
			<td colspan="2" style="height:25px;border-bottom:solid 1px #bbbbbb;">
			<span style="font-size:15px;color:#ff6600" >【<?php echo $title;?>】</span>&nbsp;&nbsp;&nbsp;
		   
			</td>
			
		</tr>
		<tr>
			<td><span>账&nbsp;&nbsp;&nbsp;号：</span></td>
			<td><span>
			<input 
			tabindex="1" 
			type="text" 
			id="username" 
			class="login_input" 
			onkeyup='check(this)' 
			onchange="check(this)"  
			onclick="check(this)"
			onkeydown="if(event.keyCode==13) login(<?php echo $authlogin;?>);"
			/></span></td>
		</tr>
		<tr>
			<td><span>密&nbsp;&nbsp;&nbsp;码：</span></td>
			<td><span>
			<input 
			tabindex="2" 
			type="password" 
			id="password" 
			class="login_input" 
			onkeyup='check(this)' 
			onchange="check(this)" 
			onclick="check(this)"
			onkeydown="if(event.keyCode==13) login(<?php echo $authlogin;?>);"
			
			/> </span></td>
		</tr>
		<?php if ($authlogin):?>
		<tr>
			<td><span>验证码：</span></td>
			<td>
			<input type="text" 
			tabindex="3" 
			id="checkcode" 
			class="login_input" 
			onkeyup='check(this)' 
			onchange="check(this)" 
			onclick="check(this)"
			onkeydown="if(event.keyCode==13) login(<?php echo $authlogin;?>);"
			/></td>
		</tr>
		
		<tr>
			<td></td>
			<td><img src="<?php echo MVC_WEB_DIR.'index.php/captcha/index'?>" id="captcha" url="<?php echo MVC_WEB_DIR.'index.php/captcha/index'?>" style="border:solid 1px #f3f3f3"/><br>
			<a href="#" onclick="
			    document.getElementById('captcha').src='<?php echo MVC_WWW_HOST.'index.php/captcha/index'?>/'+Math.random(); "
			    id="change-image">看不清楚？换一个
			</a>	
			</td>
		</tr>
		<?php endif;?>
		<tr>
			<td>&nbsp;</td>
			<td><span><input type="button" value="登 录" id="user_login" 
			tabindex="4" 
			url="<?php echo MVC_WEB_DIR.'admin.php/admin/user/Login'?>" 
			callback  ="<?php echo MVC_WEB_DIR.'admin.php/admin/home'?>" 
			onclick="login(<?php echo $authlogin;?>)"
			
			/></span></td>
		</tr>
		<tr>
			<td colspan="2" style="height:25px;border-bottom:solid 1px #eeeeee;">&nbsp;</td>
			
		</tr>
		
	
	</table>
</div>

</div>
<script>
$("#username").focus();
</script>
</div>
<div id="footer" ><?php echo MVC_WWW_NAME;?>
</div>
<div id = "error" style="background:green;right:10px;top:0px;position:absolute;z-index:1000;;color:#ffffff;font-size:13px;padding-top:2px;padding-bottom:2px;" ></div>

</body>
</html>